import 'package:json_annotation/json_annotation.dart';

part 'add_group_response.g.dart';

@JsonSerializable(explicitToJson: true, anyMap: true)
class AddGroupResponse {
  final int code;
  final String message;
  final BigInt data;

  AddGroupResponse(this.code, this.message, this.data);

  factory AddGroupResponse.fromJson(Map<String, dynamic> json) =>
      _$AddGroupResponseFromJson(json);

  Map<String, dynamic> toJson() => _$AddGroupResponseToJson(this);
}
